public class Circle {
    private int radius;
    public static final double PI = 3.1415926;
    public Circle(int radius){
        this.radius = radius;
    }

    public int getRadius() {
        return radius;
    }

    public void setRadius(int radius) {
        this.radius = radius;
    }

    public void calculateArea(){
        double area;
        area = PI*radius*radius;
        System.out.println("area:"+area);
    }
    public void calculatePerimeter(){
        double perimeter;
        perimeter = 2*PI*radius;
        System.out.println("perimeter:"+perimeter);
    }
    public static void main(String [] args){
        Circle Circle1 = new Circle(7);
        Circle1.calculateArea();
        Circle1.calculatePerimeter();
    }
}
